#ifndef ASBUBBLESYSTEM_H
#define ASBUBBLESYSTEM_H

#include "ui_as_bubblesystem.h"

#include <QtWidgets/QMainWindow>
#include <QMap>

class QTabWidgetEx;
class ASBubbleSystem : public QMainWindow
{
	Q_OBJECT

public:
	ASBubbleSystem(QWidget *parent = 0, Qt::WindowFlags flags = 0);
	~ASBubbleSystem();

private:
	void	initMenuText();
	void	initTabWidget();
	void	createLayout();

	void	updateToolBarPos();

private:
	Ui::ASBubbleSystemClass ui;

	QMap<int,QString>			m_mapLevelOneMenuText;
	QMap<int,QStringList>		m_mapLevelTwoMenuText;
	QRect						m_rcLocation;

	bool						m_bShowMax;
	bool						m_bPress;
	QPoint						m_ptStart;
	QTabWidgetEx*				m_pTabWidget;
	QWidget*					m_pStatusBar;


protected slots:
	void					onOpenTabWidgetSlot(QWidget*);
	void					onOpenTabIndexSlot(int);
	void					onAppMinSlot();
	void					onAppMaxSlot();
	void					onAppCloseSlot();
	void					onAppMenuSlot();

};

#endif // ASBUBBLESYSTEM_H
